<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.2">
<jsp:directive.page contentType="text/html" pageEncoding="UTF-8" />
<jsp:output doctype-root-element="html"
	doctype-system="about:legacy-compat" omit-xml-declaration="true" />
<html xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:s="http://www.springframework.org/tags">
<head>
	<c:import url="include/head.jsp" />
</head>
<body>
	<div class="navbar navbar-fixed-top">
		<div class="navbar-inner">
			<div class="container">
				<div class="brand">CapicsouBank</div>
			</div>
		</div>
	</div>
	<div class="container">
		<div class="hero-unit">
			<h1><s:message code="index.login" /></h1>
		</div>
	    <c:import url="include/error.jsp" />
		<c:url value="/j_spring_security_check" var="securityUrl" />
		<form method="post" action="${securityUrl}" class="form-horizontal">
			<div class="row">
				<div class="span6 offset3">
					<div class="control-group">
						<label for="j_username" class="control-label"><s:message code="index.username" /></label>
						<div class="controls">
							<input type="text" id="j_username" name="j_username" autofocus="autofocus" />
						</div>
					</div>
					<div class="control-group">
						<label for="j_password" class="control-label"><s:message code="index.password" /></label>
						<div class="controls">
							<input type="password" id="j_password" name="j_password" />
						</div>
					</div>
				</div>
			</div>
			<div class="form-actions">
				<div class="row">
					<div class="span6 offset3">
						<button type="submit" class="btn btn-large btn-primary"><s:message code="index.login" /></button>
					</div>
				</div>
			</div>
		</form>
	</div>
</body>
</html>
</jsp:root>